@import url(custom.css);

@font-face {
	font-family: "icomoon";
	font-weight: normal;
	font-style: normal;
	src: url("fonts/font.eot");
	src: url("fonts/font.eot") format("embedded-opentype"),
	url("fonts/font.ttf") format("truetype"),
	url("fonts/font.woff") format("woff"),
	url("fonts/font.svg") format("svg");
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogtq-th-webfont.woff) format("woff");
    font-weight: 200;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-thit-webfont.woff) format("woff");
    font-weight: 200;
    font-style: italic
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogtq-ul-webfont.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-ulit-webfont.woff) format("woff");
    font-weight: 300;
    font-style: italic
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogrotesque-regular-webfont.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-rgit-webfont.woff) format("woff");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogrotesque-medium-webfont.woff) format("woff");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-mdit-webfont.woff) format("woff");
    font-weight: 500;
    font-style: italic
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogtq-sb-webfont.woff) format("woff");
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-sbit-webfont.woff) format("woff");
    font-weight: 600;
    font-style: italic
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geogtq-bd-webfont.woff) format("woff");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: Geogrotesque;
    src: url(fonts/geog-bdit-webfont.woff) format("woff");
    font-weight: 700;
    font-style: italic
}

.table {
    position: relative;
    display: table
}

.tr {
    display: table-row
}

.thead {
    display: table-header-group
}

.tbody {
    display: table-row-group
}

.tfoot {
    display: table-footer-group
}

.td,
.th {
    line-height: normal;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: .5em
}

.th {
    font-weight: 700
}

.tr.placeholder {
    height: 4em
}

.tr.placeholder > .td {
    line-height: 3;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center!important;
    background: inherit
}

.td[width="33%"] {
    padding: 1.1em
}

.table[width="33%"],
.th[width="33%"],
.td[width="33%"] {
    width: 33%
}

.col-1 {
    flex: 1 1 30px!important
}

.col-2 {
    flex: 2 2 60px!important
}

.col-3 {
    flex: 3 3 90px!important
}

.col-4 {
    flex: 4 4 120px!important
}

.col-5 {
    flex: 5 5 150px!important
}

.col-6 {
    flex: 6 6 180px!important
}

.col-7 {
    flex: 7 7 210px!important
}

.col-8 {
    flex: 8 8 240px!important
}

.col-9 {
    flex: 9 9 270px!important
}

.col-10 {
    flex: 10 10 300px!important
}

.cbi-button-up,
.cbi-button-down,
.cbi-value-helpicon,
.showSide {
    font-family: icomoon;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    speak: none
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Geogrotesque, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.1!important;
    color: inherit
}

html {
    overflow-y: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
    background: #252d38;

}

html,
body {
    font-family: Geogrotesque, Arial, sans-serif;
    font-weight: 400;
    color: #fff;
    height: 100%;
   
 font-size:15px;
 line-height: 150%;


    margin: 0;
    padding: 0
}

select {
    color: #555;
    border: thin solid #ccc;
    background-image: none;
    padding: .36rem .8rem
}

a {
	color: #fff;
}

.btn,
button,
select,
input,
.cbi-dropdown {
    height: 1.8rem;
    color: rgba(255, 255, 255, .87);
    border: 0;
    border-bottom: 2px solid rgba(0, 0, 0, .26);
    border-radius: 0;
    outline: 0;
    background-color: rgba(0, 0, 0, 1);
    background-image: none;
    box-shadow: none;
    padding: 0
}

select,
.cbi-dropdown {
    width: inherit
}

select:not([multiple="multiple"]):focus,
input:not(.cbi-button):focus,
.cbi-dropdown:focus,
.cbi-dynlist > .item:focus {
    border-color: var(--main-color)
}

select[multiple="multiple"] {
    height: auto
}

pre {
    overflow: auto
}

code {
    font-size: 1rem;
    font-size-adjust: .35;
    color: #101010;
    border-radius: 2px;
    background: #ddd;
    padding: 1px 3px
}

abbr {
    cursor: help;
    text-decoration: underline;
    color: #005470
}

hr {
    opacity: .1;
    border-color: #eee;
    margin: 1rem 0
}

header,
.main {
    position: absolute;
    width: 100%
}

header {
    position: fixed;
    z-index: 2000;
    float: left;
    height: 4rem;
    transition: box-shadow .2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
    color: var(--header-color);
    background: var(--header-bg)
}

footer {
    font-size: .8rem;
    overflow: hidden;
    text-align: right;
    white-space: nowrap;
    color: #aaa;
    text-shadow: 0 0 2px #bbb;
    padding: 1rem
}

footer > a {
    text-decoration: none;
    color: #aaa
}

.main {
    /*top: 4rem;*/
    bottom: 0rem;
    position: relative;
    height: 100%;
     overflow-y: auto;
    height: calc(100% - 4rem);
}

.main > .loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: block;
    background-color: rgb(254,251,245);
    top: 0;
}

.main > .loading > span {
    font-family: Geogrotesque, Arial, sans-serif;
    font-size: 2.0rem;
    font-size-adjust: .35;
    position: relative;
    top: 12.5%;
    display: block;
    text-align: center;
    color: #888
}
.main > .loading > span > .loading-img:before {
    content: "\e603"
}

.main > .loading > span > .loading-img {
    animation: anim-rotate 2s infinite linear;
    margin-right: 0.2rem;
    display: inline-block;
}


[id^="cbi-apply-"] {
	position: absolute;
	z-index: 200;
	left: 50%;
	top: 50%;
	font-size: 1.2rem;
	border-color: #525f7f;
	text-align: center;
	width: 300px;
	height: 180px;
	transform: translate(-50%, -50%);
}

[id^="cbi-apply-"]>.panel-title {
	border-bottom: none;
}

[id^="cbi-apply-"]>img {
	margin-top: 1rem;
}

[id^="cbi-apply-"]>[id^="cbi-apply-"] {
	height: auto;
	font-size: 1rem;
	display: block;
	top: 80%;
}
.main-left {
    position: fixed;
    top: 4rem;
    float: left;
    overflow-x: auto;
    width: calc(0% + 15rem);
    height: calc(100% - 4rem);
    border-right: 1px solid #bf3630
}


.danger {
    background-color: #ff7d60!important
}
.warning {
    background-color: #065279!important
}

.success {
    background-color: #5cb85c!important
}

.notice {
    background-color: #5bc0de!important
}

.error {
    color: red
}

.alert,
.alert-message {
    font-weight: 700;
    margin-bottom: 1em;
    border: 0;
    border-radius: 0!important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    text-shadow: 1px 1px rgba(0, 0, 0, .1);
    padding: 1rem
}

.alert-message > h4 {
    font-size: 110%;
    font-weight: 700
}

.alert-message > * {
    margin: .5rem 0
}

.main > .main-left > .nav > li {
    cursor: pointer;
    padding: .5rem 1rem
}

.main > .main-left > .nav > li:nth-last-child(1) {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem
}

.main > .main-left > .nav > li a {
    display: block;
    color: var(--menu-color);
    text-decoration: none;
    text-align: right
}

.main > .main-left > .nav > .slide {
    padding: 0
}

.main > .main-left > .nav > .slide > .menu::before {
    position: absolute;
    top: 40%;
    right: 17px;
    width: 1rem;
    height: 1rem;
    content: "";
    background-image: url();
    background-repeat: no-repeat
}

.main > .main-left > .nav > .slide > .menu.active::before {
    transform: rotate(-180deg)
}

body[class*="node-"] > .main > .main-left > .nav > .slide > .menu::before {
    transition: transform .1s ease-in-out
}

body[class*="node-"] > .main > .main-left > .nav > .slide > .menu.active::before {
    transition: transform .2s ease-in-out
}

.main > .main-left > .nav > .slide > .menu {
    font-family: Geogrotesque, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 3.53;
    display: block;
    text-decoration: none;
    color: var(--menu-color);
    text-align: right;
    padding: .5rem 2.5rem
}

.main > .main-left > .nav > .slide:hover {
    background: none
}

.main > .main-left > .nav > .slide > .slide-menu > li {
    font-style: italic;
    text-align: right;
    padding: .4rem 2rem
}

.main > .main-left > .nav > .slide > .slide-menu > li > a {
    white-space: nowrap;
    text-decoration: none;
    font-size: 1rem
}

.main > .main-left > .nav > .slide > .slide-menu > .active:hover {
    cursor: hand
}

.main > .main-left > .nav > .slide > .menu,
.main > .main-left > .nav > .slide > .slide-menu > li {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0)
}

.main > .main-left > .nav > .slide > .menu:after,
.main > .main-left > .nav > .slide > .slide-menu > li:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    transition: transform .5s, opacity 1s;
    transform: scale(10, 10);
    pointer-events: none;
    opacity: 0;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%
}

.main > .main-left > .nav > .slide > .menu:active:after,
.main > .main-left > .nav > .slide > .slide-menu > li:active:after {
    transition: 0s;
    transform: scale(0, 0);
    opacity: .2
}

#maincontent > .container {
    margin: 0 2rem 1rem
}

.Processes #maincontent > .container {
    margin-right: 0
}

ul {
    line-height: normal
}

li {
    list-style-type: none
}

h1 {
    font-size: 2rem;
    padding-bottom: 10px
}

h2 {
    font-size: 1.8rem;
    padding-bottom: 10px;
    margin: 2rem 0 0
}

h3 {
    font-size: 1.4rem;
    padding-bottom: 10px;
    margin: 2rem 0 0
}

h4 {
    font-size: 1.2rem;
    padding-bottom: 10px;
    margin: 2rem 0 0
}

h5 {
    font-size: 1rem;
    padding-bottom: 10px;
    margin: 2rem 0 0
}
.cbi-section,
.cbi-section-error,
#iptables,
.Firewall form,
#cbi-network > .cbi-section-node,
#cbi-wireless > .cbi-section-node,
#cbi-wireless > #wifi_assoclist_table,
[data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
[data-page="admin-system-opkg"] #maincontent > .container {
    font-family: Geogrotesque, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    min-width: inherit;
    border: 0;
    border-radius: 0;
    background-color: rgba(0, 0, 0, .1);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .5), 0 0 2px 0 rgba(0, 0, 0, .5);
    margin: 1rem 0 0;
    padding: 2rem
}

fieldset > legend {
    display: none !important;
}

fieldset > fieldset {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}
.panel-title {
    width: 100%;
    display: block;
    line-height: 1;
    color: rgb(22,117,161);
    font-size: 18px;
    padding-bottom: 10px;
	font-weight:bold;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    border: 0px solid #eee;
}
table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th {
    padding: 12px;
    line-height: 1.6;
    border-top: 0px dashed #EEE;
	
    white-space: nowrap;
}

.cbi-section-table-cell {
    text-align: center;
}

.cbi-section-table-row {
    text-align: center;
}

.cbi-section-remove{
	margin-bottom: 10px;
}

.cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
.cbi-section-table-row > .cbi-value-field input.cbi-input-password {
    width: calc(100% - 1.5rem)
}

fieldset > table > tbody > tr:nth-of-type(odd) {
    background-color: ##617486;
}

/* fix progress bar */
#swaptotal > div,
#swapfree > div,
#swapcache > div,
#memfree > div,
#membuff > div,
#conns > div,
#memcache > div,
#memtotal > div {
    width: 100% !important;
    border-color:#ccc !important;
    height:20px !important;
    color:#617486 !important;
}
#swaptotal > div > div,
#swapfree > div > div,
#swapcache > div > div,
#memfree > div > div,
#membuff > div > div,
#conns > div > div,
#memcache > div > div,
#memtotal > div > div {
    height: 1.4rem !important;
    background-color: #617486 !important;
}

/* fix multiple table */


table table {
    border: none;
}


.cbi-value-field table {
    border: none;
}

td > table > tbody > tr > td {
    border: none;
}

.cbi-value-field > table > tbody > tr > td {
    border: none;
}

/* button style */
.cbi-button {
cursor: pointer;
	display: inline-block;
	background-color: #e6e6e6;
	background-repeat: no-repeat;	
	padding: 5px 14px 6px;	
	color: #333;
	white-space: nowrap;
	font-size: 14px;
	line-height: normal;
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cbi-button:not(select) {
    -webkit-appearance: none!important
}

form[method="post"] + form[method="post"],
.cbi-button + .cbi-button {
    margin-left: .6rem
}

.btn:hover,
.btn:focus,
.btn:active,
.cbi-button:hover,
.cbi-button:focus,
.cbi-button:active,
.item:hover::after,
.item:focus::after,
.item:active::after,
.cbi-page-actions .cbi-button-apply + .cbi-button-save:hover,
.cbi-page-actions .cbi-button-apply + .cbi-button-save:focus,
.cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
    text-decoration: none;
    outline: 0
}

.btn:hover,
.btn:focus,
.cbi-button:hover,
.cbi-button:focus {
    box-shadow: 0 0 2px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .2)
}

.btn:active,
.cbi-button:active {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23)
}

.btn:disabled,
.cbi-button:disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .5;
    box-shadow: none
}

.alert-message [class="btn"],
.modal div[class="btn"],
.cbi-button-find,
.cbi-button-link,
.cbi-button-up,
.cbi-button-down,
.cbi-button-neutral,
.cbi-button[name="zero"],
.cbi-button[name="restart"],
.cbi-button[onclick="hide_empty(this)"] {
    font-weight: 700;
    border: thin solid #f4;
    background-color: #0aa344
}

.btn.primary,
.cbi-page-actions .cbi-button-save,
.cbi-page-actions .cbi-button-apply + .cbi-button-save,
.cbi-button-add,
.cbi-button-save,
.cbi-button-positive,
.cbi-button-link,
.cbi-button[value="Enable"],
.cbi-button[value="Scan"],
.cbi-button[value^="Back"],
.cbi-button-neutral[onclick="handleConfig(event)"] {
    font-weight: 400;
    color: #fff;
    border: thin solid #3b2e7e ;
    background-color: #3b2e7e
}

.cbi-button-link,
.cbi-input-find,
.cbi-input-save,
.cbi-button-add,
.cbi-button-save,
.cbi-button-find,
.cbi-input-reload,
.cbi-button-reload {
    color: #fff !important;
    background-color: #177cb0 !important;
    border-color: #177cb0 !important;
}

.cbi-button-reset,
.cbi-input-remove {
     color: #fff !important;
     background-color: #801dae !important;
     border-color: #801dae !important;
}


.cbi-input-apply,
.cbi-button-apply,
.cbi-button-edit {
    color: #fff !important;
    background-color: #00BCD4     !important;
    border-color: #00BCD4  !important;
}

.cbi-input-reset,
.cbi-section-remove>.cbi-button,
.cbi-button-remove {
    color: #fff !important;
    background-color: #fb6340    !important;
    border-color: #fb6340 !important;
}

.cbi-page-actions .cbi-button-apply,
.cbi-section-actions .cbi-button-edit,
.cbi-button-edit,
.cbi-button-apply,
.cbi-button-reload,
.cbi-button-action,
.cbi-button[value="Submit"],
.cbi-button[value$="Apply"],
.cbi-button[onclick="addKey(event)"] {
    font-weight: 400;
    color: #fff;
    border: thin solid #065279 ;
    background-color: #065279
}

.btn.danger,
.cbi-section-remove > .cbi-button,
.cbi-button-remove,
.cbi-button-reset,
.cbi-button-negative,
.cbi-button[value="Stop"],
.cbi-button[value="Kill"],
.cbi-button[onclick="reboot(this)"],
.cbi-button-neutral[value="Restart"] {
    font-weight: 400;
    color: #fff;
    border: thin solid #fb6340;
    background-color: #fb6340
}

.btn[value="Dismiss"],
.cbi-button[value="Terminate"],
.cbi-button[value="Reset"],
.cbi-button[value="Disabled"],
.cbi-button[onclick^="iface_reconnect"],
.cbi-button[onclick="handleReset(event)"],
.cbi-button-neutral[value="Disable"] {
    font-weight: 400;
    color: #fff;
    border: thin solid #fb6340;
    background-color: #801dae
}

.cbi-button-success,
.cbi-button-download,
.cbi-button[name="backup"],
.cbi-button[value="Upload"],
.cbi-button[value="Save mtdblock"] {
    font-weight: 400;
    color: #fff;
    border: thin solid #f4;
    background-color: #5cb85c
}

.a-to-btn {
    text-decoration: none
}

.cbi-value-field .cbi-button-add {
    font-weight: 700;
    padding: 1px 6px
}

.cbi-value-field .cbi-button-neutral {
    padding: 1px 8px
}

.tabs {
    padding-left: .5rem;
    border-bottom: solid 1px #bf3630;
    margin: 0 -2rem
}

.cbi-tabmenu > li,
.tabs > li {
    display: inline-block;
    padding: .6rem 0
}

.cbi-tabmenu > li > a,
.tabs > li > a {
    text-decoration: none;
    color: #fff;
    padding: .5rem .8rem
}

.tabs > li[class~="active"],
.tabs > li:hover {
    margin-bottom: -.18751rem;
    cursor: pointer;
    color: var(--main-color);
    border-bottom: .2rem solid var(--main-color)
}

.tabs > li[class~="active"] > a {
    color: var(--main-color)
}

.tabs > li:hover {
    border-bottom: .18751rem solid #c9c9c9
}

.cbi-tabmenu {
    border: thin solid rgba(0, 0, 0, .5);
    border-bottom: 0;
    background-color: rgba(0, 0, 0, .2)
}

[data-tab-title] {
    height: 0;
    opacity: 0;
    overflow: hidden
}

[data-tab-active="true"] {
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: opacity .25s ease-in
}

.cbi-section-node-tabbed {
    margin-top: 0;
    border: thin solid rgba(0, 0, 0, .5);
    border-top: 0;
    padding: 0
}

.cbi-value-field,
.cbi-value-description {
    line-height: 1.25;
    display: table-cell
}

.cbi-input-invalid {
    color: red;
    border-color: red
}

.cbi-section-error {
    font-weight: 700;
    line-height: 1.42857143;
    border: thin solid red;
    border-radius: 3px;
    background-color: #fce6e6;
    margin: 18px;
    padding: 6px
}

.cbi-section-error ul {
    margin: 0 0 0 20px
}

.cbi-section-error ul li {
    font-weight: 700;
    color: red
}

.cbi-value-helpicon:before {
    content: "\f059"
}

.cbi-value-description {
    font-size: small;
  
    opacity: .5;
    padding: .5rem 0 0
}

.cbi-value-title {
    display: table-cell;
    float: left;
    width: 23rem;
    padding-top: .4rem;
    padding-right: 2rem;
    text-align: right;
    word-wrap: break-word
}

.cbi-value {
    display: inline-block;
    width: 100%;
    padding: .3rem 1rem
}

.cbi-value ul {
    line-height: 1.25
}

.td[data-title]::before {
    font-weight: 700;
    display: none;
    content: attr(data-title) ":\20";
    text-align: left;
    white-space: nowrap;
    padding: .25rem 0
}

.tr[data-title]::before,
.tr.cbi-section-table-titles.named::before {
    font-weight: 700;
    display: table-cell;
    align-self: center;
    flex: 1 1 5%;
    content: attr(data-title) "\20";
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    word-wrap: break-word;
    padding: .25rem
}

.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
    width: auto!important
}

.td.cbi-section-actions {
    text-align: right!important;
    vertical-align: middle
}

.td.cbi-section-actions > * {
    display: inline-flex
}

.td.cbi-section-actions > * > *,
.td.cbi-section-actions > * > form > * {
    margin: 0 5px
}

.td.cbi-section-actions > * > form {
    display: inline-flex;
    margin: 0
}

.cbi-section-descr,
.cbi-map-descr {
    font-size: small;
    line-height: 1.42857143;
    color: #999;
    padding: .5rem
}

.cbi-dynlist {
    line-height: 1.3;
    flex-direction: column;
    min-height: 30px
}

.cbi-dynlist > .item {
    position: relative;
    max-width: 24.9rem;
    cursor: default;
    pointer-events: none;
    color: #666;
    border-bottom: 2px solid rgba(0, 0, 0, .26);
    margin: 0 2em 4px 0;
    padding: 2px 4px
}

.cbi-dynlist[name="sshkeys"] > .item {
    max-width: none
}

.cbi-dynlist > .item::after {
    font-weight: 700;
    position: absolute;
    right: -2em;
    bottom: 0;
    display: inline-flex;
    min-height: 17px;
    content: "\00D7";
    pointer-events: auto;
    color: #fff;
    border: thin solid #d43f3a;
    background-color: #d9534f;
    padding: 0 6px
}

.cbi-dynlist > .item > span {
    white-space: normal;
    word-break: break-word
}

.cbi-dynlist,
.cbi-dropdown {
    position: relative;
    display: inline-flex;
    height: auto;
    cursor: default;
    padding: 0
}

.cbi-dropdown > ul {
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    list-style: none;
    margin: 0!important;
    padding: 0
}

.cbi-dropdown > .open {
    flex-basis: 15px
}

.cbi-dropdown > .open,
.cbi-dropdown > .more {
    font-size: 1rem;
    font-weight: 900;
    line-height: 2;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
    text-align: center;
    padding: 0 .25em
}

.cbi-dropdown > .more,
.cbi-dropdown > ul > li[placeholder] {
    font-weight: 700;
    display: none;
    color: #777
}

.cbi-dropdown > ul > li {
    display: none;
    overflow: hidden;
    align-items: center;
    align-self: center;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: .25em
}

.cbi-dropdown > ul > li[display]:not([display="0"]) {
    border-left: thin solid #ccc
}

.cbi-dropdown[empty] > ul {
    max-width: 1px
}

.cbi-dropdown > ul > li > form {
    display: none;
    pointer-events: none;
    margin: 0;
    padding: 0
}

.cbi-dropdown > ul > li img {
    margin-right: .25em;
    vertical-align: middle
}

.cbi-dropdown > ul > li > form > input[type="checkbox"] {
    height: auto;
    margin: 0
}

.cbi-dropdown > ul > li input[type="text"] {
    height: 20px
}

.cbi-dropdown[open] > ul.dropdown {
    position: absolute;
    z-index: 1100;
    display: block;
    width: auto;
    min-width: 100%;
    max-width: none;
    max-height: 200px!important;
    border: thin solid #918e8c;
    background: #000;
    box-shadow: 0 0 4px #000
}

.cbi-dropdown > ul > li[display],
.cbi-dropdown[open] > ul.preview,
.cbi-dropdown[open] > ul.dropdown > li,
.cbi-dropdown[multiple] > ul > li > label,
.cbi-dropdown[multiple][open] > ul.dropdown > li,
.cbi-dropdown[multiple][more] > .more,
.cbi-dropdown[multiple][empty] > .more {
    display: flex;
    align-items: center;
    flex-grow: 1
}

.cbi-dropdown[open] > ul.dropdown > li {
    border-bottom: thin solid #ccc
}

.cbi-dropdown[open] > ul.dropdown > li[selected] {
    background: #b0d0f0
}

.cbi-dropdown[open] > ul.dropdown > li.focus {
    background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%)
}

.cbi-dropdown[open] > ul.dropdown > li:last-child {
    margin-bottom: 0;
    border-bottom: 0
}

.cbi-dropdown[open] > ul.dropdown > li[unselectable] {
    opacity: .7
}

.cbi-dropdown[disabled] {
    pointer-events: none;
    opacity: .6
}

.cbi-dropdown[open] .zonebadge {
    width: auto
}

#modal_overlay {
    position: fixed;
    z-index: 900;
    top: 4rem;
    right: 10000px;
    bottom: 0;
    left: -10000px;
    overflow-y: scroll;
    transition: opacity .125s ease-in;
    opacity: 0;
    background: rgba(0, 0, 0, .7);
    -webkit-overflow-scrolling: touch
}

.modal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    min-width: 270px;
    max-width: 600px;
    min-height: 32px;
    max-height: 2400px;
    border-radius: 3px!important;
    background: #252d38;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .5), 0 0 2px 0 rgba(0, 0, 0, .5);
    margin: 5em auto;
    padding: 1em
}

.modal > * {
    line-height: normal;
    flex-basis: 100%
}

.modal > pre,
.modal > textarea {
    font-size: 1rem;
    font-size-adjust: .35;
    overflow: auto;
    margin-bottom: .5em;
    white-space: pre-wrap;
    color: #eee;
    outline: 0;
    background-color: #101010;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    padding: 8.5px
}

.modal > h4 {
    margin: .5em 0
}

.modal ul {
    margin-left: 2.2em
}

.modal li {
    list-style-type: square;
    color: gray
}

.modal p {
    padding-left: .25rem;
    word-break: break-word
}

.modal .label {
    font-size: .6rem;
    font-weight: 400;
    cursor: default;
    border-radius: 0;
    padding: .1rem .3rem 0
}

.modal .label.warning {
    background-color: #f0ad4e!important
}

.modal .spinning {
    margin-bottom: 2em
}

body.modal-overlay-active {
    overflow: hidden;
    height: 100vh
}

body.modal-overlay-active #modal_overlay {
    right: 0;
    left: 0;
    opacity: 1
}

.spinning {
    position: relative;
    padding-left: 32px!important
}

.spinning::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: .2em;
    width: 32px;
    content: " ";
    background: url(../resources/icons/loading.gif) no-repeat center;
    background-size: 16px
}

.left,
.left::before {
    text-align: left!important
}

.right,
.right::before {
    text-align: right!important
}

.top {
    align-self: flex-start!important;
    vertical-align: top!important
}

.bottom {
    align-self: flex-end!important;
    vertical-align: bottom!important
}

.inline {
    display: inline
}

.cbi-page-actions {
    padding-top: 1rem;
    text-align: right
}

.cbi-page-actions > form[method="post"] {
    display: inline-block
}

.cbi-value-field .cbi-input-invalid {
    color: red;
    border-bottom-color: red
}

.cbi-progressbar {
    position: relative;
    min-width: 170px;
    height: 20px;
    border: thin solid rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    margin: 4px 0
}

.cbi-progressbar > div {
    width: 0;
    height: 100%;
    transition: width .25s ease-in;
    background: var(--bar-bg)
}

.cbi-progressbar::after {
    font-family: Geogrotesque, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    font-size-adjust: .38;
    line-height: normal;
    position: absolute;
    top: 2px;
    right: 0;
    bottom: 2px;
    left: 0;
    overflow: hidden;
    content: attr(title);
    text-align: center;
    white-space: pre;
    text-overflow: ellipsis;
    text-shadow: 0 0 2px #eee
}

.th[data-type="button"],
.td[data-type="button"],
.th[data-type="fvalue"],
.td[data-type="fvalue"] {
    flex: 1 1 2em;
    text-align: center
}

.ifacebadge {
    display: inline-flex;
    border-bottom: thin solid rgba(0, 0, 0, .8);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .8), 0 1px 2px rgba(0, 0, 0, .05);
    padding: .5rem .8rem
}

td > .ifacebadge,
.td > .ifacebadge {
    font-size: .8rem;
}

.ifacebadge > em,
.ifacebadge > img {
    display: inline-block;
    align-self: flex-start;
    margin: 0 .2rem
}

.ifacebadge > img + img {
    margin: 0 .2rem 0 0
}

.network-status-table .ifacebox {
    flex-grow: 1;
    margin: .5em
}

.network-status-table .ifacebox-body {
    display: flex;
    flex-direction: column;
    height: 100%
}

.network-status-table .ifacebox-body > span {
    flex: 10 10 auto
}

.network-status-table .ifacebox-body .ifacebadge {
    align-items: center;
    flex: 1 1 auto;
    min-width: 220px;
    margin: .5em .25em 0;
    padding: .5em
}

.cbi-input-textarea {
    font-family: Geogrotesque, Arial, sans-serif;
    width: 100%;
    min-height: 14rem;
    color: #000;
    padding: .8rem
}

#syslog {
    font-size: small;
    overflow-y: hidden;
    width: 100%;
    min-height: 15rem;
    margin-bottom: 20px;
    resize: none;
    color: #eee;
    border: 0;
    border-radius: 0;
    background-color: #101010;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    padding: 1rem 1rem 2.5rem
}

#syslog:focus {
    outline: 0
}

.uci-change-list {
    font-family: Geogrotesque, Arial, sans-serif
}

.uci-change-list ins,
.uci-change-legend-label ins {
    display: block;
    text-decoration: none;
    border: thin solid green;
    background-color: green;
    padding: 2px
}

.uci-change-list del,
.uci-change-legend-label del {
    font-style: normal;
    display: block;
    text-decoration: none;
    border: thin solid #bf3630;
    background-color: #bf3630;
    padding: 2px
}

.uci-change-list var,
.uci-change-legend-label var {
    font-style: normal;
    display: block;
    text-decoration: none;
    border: thin solid #ccc;
    background-color: #eee;
    padding: 2px
}

.uci-change-list var ins,
.uci-change-list var del {
    font-style: normal;
    white-space: pre;
    border: 0;
    padding: 0
}

.uci-change-legend {
    padding: 5px
}

.uci-change-legend-label {
    float: left;
    width: 150px
}

.uci-change-legend-label > ins,
.uci-change-legend-label > del,
.uci-change-legend-label > var {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 4px
}

.uci-change-legend-label var ins,
.uci-change-legend-label var del {
    line-height: .4;
    border: 0
}

#iwsvg,
#iwsvg2,
#bwsvg {
    border: thin solid #d4d4d4!important
}

.ifacebox {
    line-height: 1.25;
    display: inline-flex;
    flex-direction: column;
    min-width: 100px;
    border-bottom: thin solid rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.8)
}

.ifacebox-head {
    background: #eee;
    color: #000;
    padding: .25em
}

.ifacebox-head.active {
    background: var(--bar-bg)
}

.ifacebox-body {
    padding: .25em
}

.cbi-image-button {
    margin-left: .5rem
}

.zonebadge {
    display: inline-block;
    padding: .2rem .5rem
}

.zonebadge .ifacebadge {
    border: thin solid rgba(0, 0, 0, 0.8);
    margin: .1rem .2rem;
    padding: .2rem .3rem
}

.zonebadge > input[type="text"] {
    min-width: 10rem;
    margin-top: .3rem;
    padding: .16rem 1rem
}

.zonebadge > em,
.zonebadge > strong {
    display: inline-block;
    margin: 0 .2rem
}

.cbi-value-field .cbi-input-checkbox,
.cbi-value-field .cbi-input-radio {
    margin-top: .15rem
}

.cbi-value-field > ul > li .ifacebadge {
    margin-top: -.5rem;
    margin-left: .4rem;
    background-color: #eee
}

.cbi-section-table-row > .cbi-value-field .cbi-dropdown {
    min-width: 7rem
}

.cbi-section-create {
    display: inline-flex;
    align-items: center;
    margin: .5rem -3px
}

.cbi-section-create > * {
    margin: .5rem
}

div.cbi-value var,
td.cbi-value-field var,
.td.cbi-value-field var {
    font-style: italic;
    color: #0069d6
}

small {
    font-size: 90%;
    line-height: 1.42857143;
    white-space: normal
}

.cbi-button-up,
.cbi-button-down {
    font-size: 1.2rem;
    display: inline-block;
    min-width: 0;
    padding: .2rem .3rem
}

.cbi-optionals {
    border-top: thin solid #ccc;
    padding: 1rem 1rem 0
}

.cbi-tooltip-container,
span[data-tooltip],
span[data-tooltip] .label {
    cursor: help!important
}

.cbi-tooltip {
    position: absolute;
    z-index: 1000;
    left: -1000px;
    transition: opacity .25s ease-out;
    white-space: pre;
    pointer-events: none;
    opacity: 0;
    border-radius: 3px;
    background: #252d38;
    box-shadow: 0 0 2px #000;
    padding: 2px 5px
}

.cbi-tooltip-container:hover .cbi-tooltip {
    left: auto;
    transition: opacity .25s ease-in;
    opacity: 1
}

.zonebadge .cbi-tooltip {
    background: inherit;
    margin: -1.5rem 0 0 -.5rem;
    padding: .25rem
}

.zonebadge-empty {
    color: #404040;
    background: repeating-linear-gradient(45deg, rgba(204, 204, 204, .5), rgba(204, 204, 204, .5) 5px, rgba(255, 255, 255, .5) 5px, rgba(255, 255, 255, .5) 10px)
}

.zone-forwards {
    display: flex;
    min-width: 10rem
}

.zone-forwards > * {
    flex: 1 1 45%
}

.zone-forwards > span {
    flex-basis: 10%;
    text-align: center;
    padding: 0 .25rem
}

.zone-forwards .zone-src,
.zone-forwards .zone-dest {
    display: flex;
    flex-direction: column
}

.label {
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff!important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #bfbfbf;
    text-shadow: none;
    padding: .3rem .8rem
}

label > input[type="checkbox"],
label > input[type="radio"] {
    position: relative;
    top: .4rem;
    right: .2rem;
    vertical-align: bottom;
    margin: 0
}

.darkMask {
    position: fixed;
    z-index: 99;
    display: none;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(0, 0, 0, .56)
}

#diag-rc-output > pre,
#command-rc-output > pre {
    font-size: 1.2rem;
    font-size-adjust: .35;
    line-height: normal;
    display: block;
    width: 100%;
    white-space: pre;
    color: #eee;
    background-color: #101010;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    padding: 8.5px
}

input[name="ping"],
input[name="traceroute"],
input[name="nslookup"] {
    width: 80%
}

.node-main-login > .main fieldset {
    display: inline;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 0;
    background: none;
    box-shadow: none;
    padding: .5rem
}

.node-main-login > .main .cbi-value-title {
    width: 9.5rem
}

.node-main-login > .main #maincontent {
    text-align: center
}

.node-main-login > .main .container {
    display: inline-block;
    margin-top: 2rem!important;
    text-align: left;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
    padding: 1rem 3.5rem 2rem
}

.node-main-login > .main .cbi-value > * {
    display: inline-block!important
}

.node-admin-status form {
    margin: 2rem 2rem 0 0
}

[data-page="admin-system-reboot"] p {
    padding-left: 2rem
}

[data-page="admin-system-reboot"] p > span {
    position: relative;
    top: .1rem;
    left: 1rem
}

#cbi-samba .cbi-value-last .cbi-value-title {
    width: auto;
    padding-bottom: .6rem
}

.controls > * > .btn:not([aria-label$="page"]) {
    flex-grow: initial!important;
    margin-top: .1rem
}

.controls > #pager > .btn[aria-label$="page"] {
    font-size: 1.4rem;
    font-weight: 700
}

.controls > * > label {
    margin-bottom: .2rem
}

[data-page="admin-system-opkg"] div.btn {
    line-height: 3;
    display: inline;
    padding: .3rem .6rem
}

[data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear),
[data-page="admin-system-opkg"] #maincontent > .container {
    margin-top: 2rem;
    padding-top: .1rem
}

[data-page="admin-system-opkg"] #maincontent > .container {
    margin: 2rem 2rem 1rem
}

.td.version,
.td.size {
    white-space: normal!important;
    word-break: break-word
}

.cbi-tabmenu + .cbi-section {
    margin-top: 0
}

#cbi-wireless > #wifi_assoclist_table > .tr {
    box-shadow: inset 1px -1px 0 rgba(0, 0, 0, .5), inset -1px -1px 0 rgba(0, 0, 0, .5)
}

#cbi-wireless > #wifi_assoclist_table > .tr.placeholder > .td {
    right: 33px;
    bottom: 33px;
    left: 33px;
    border-top: thin solid rgba(0, 0, 0, .5)!important
}

#cbi-wireless > #wifi_assoclist_table > .tr.table-titles {
    box-shadow: inset 1px 0 0 rgba(0, 0, 0, .5), inset -1px 0 0 rgba(0, 0, 0, .5)
}

#cbi-wireless > #wifi_assoclist_table > .tr.table-titles > .th {
    border-bottom: thin solid rgba(0, 0, 0, .5);
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .5)
}

#wifi_assoclist_table > .tr > .td[data-title="RX Rate / TX Rate"] {
    width: 23rem
}

#iptables {
    margin: 0
}

.Firewall form {
    box-shadow: none;
    padding: 0
}

#cbi-firewall-redirect table *,
#cbi-network-switch_vlan table *,
#cbi-firewall-zone table * {
    font-size: small
}

#cbi-firewall-redirect table input[type="text"],
#cbi-network-switch_vlan table input[type="text"],
#cbi-firewall-zone table input[type="text"] {
    width: 5rem
}

#cbi-firewall-redirect table select,
#cbi-network-switch_vlan table select,
#cbi-firewall-zone table select {
    min-width: 3.5rem
}

#cbi-network-switch_vlan .th,
#cbi-network-switch_vlan .td {
    flex-basis: 12%
}

#applyreboot-container {
    margin: 2rem
}

#applyreboot-section {
    line-height: 300%;
    margin: 2rem
}

.OpenVPN a {
    line-height: initial!important
}

.commandbox {
    width: 24%!important;
    border-bottom: thin solid #ccc;
    background: #eee;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    padding: .5rem 1rem
}

.commandbox h3 {
    line-height: normal!important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 6px 0!important
}

.commandbox div {
    left: auto!important
}

.commandbox code {
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 60%;
    max-height: 55px;
    margin-top: -3px;
    margin-left: 4px;
    text-overflow: ellipsis;
    padding: 2px 3px
}

.commandbox p:first-of-type {
    margin-top: -6px
}

.commandbox p:nth-of-type(2) {
    margin-top: 2px
}

#command-rc-output .alert-message {
    line-height: 1.42857143;
    position: absolute;
    top: 40px;
    right: 32px;
    max-width: 40%;
    animation: anim-fade-in 1.5s forwards;
    opacity: 0;
    margin: 0
}

.pull-right,
.node-main-login > .main form > div:nth-last-child(1) {
    float: right
}

.pull-left,
.cbi-page-actions .cbi-button-link:first-child {
    float: left
}

body:not(.logged-in) > header > .fill > .container > #logo,
.main > .main-left > .nav > .slide > ul,
.main > .main-left[style*="overflow: hidden"] > .nav > .slide > .menu::before,
.cbi-value-helpicon > img,
.tr.placeholder .td[data-title]::before,
.cbi-dropdown > ul.preview,
.cbi-dropdown > ul > li .hide-close,
.cbi-dropdown[open] > ul.dropdown > li .hide-open,
.hidden,
.showSide,
.node-main-login > .main > .main-left,
[data-page^="admin-system-commands"] .panel-title,
[data-page^="command-cfg"] .mobile-hide,
[data-page^="command-cfg"] header > .fill > .container > #logo {
    display: none
}

#xhr_poll_status,
.cbi-value-field > ul > li {
    display: flex
}

.alert-message .btn,
.modal .btn {
    padding: .3rem .6rem
}

.container .alert,
.container .alert-message,
.cbi-map-descr + fieldset {
    margin-top: 1rem
}

.main > .main-left > .nav,
.cbi-value-field > ul > li > label {
    margin-top: .5rem
}

.logo .main-menu-brand {
    width: 100%;
    padding: 35px 15px 15px
}

.contact-us {
    padding-top: 7px;
    font-size: 1rem;
    color: #fff
}

table > tbody > tr > td,
table > tbody > tr > th,
table > tfoot > tr > td,
table > tfoot > tr > th,
table > thead > tr > td,
table > thead > tr > th,
.table > .tbody > .tr > .td,
.table > .tbody > .tr > .th,
.table > .tfoot > .tr > .td,
.table > .tfoot > .tr > .th,
.table > .thead > .tr > .td,
.table > .thead > .tr > .th,
.table > .tr > .td.cbi-value-field,
.table > .tr > .th.cbi-section-table-cell,
.uci-change-list var,
.uci-change-list del,
.uci-change-list ins,
.cbi-section-remove {
    padding: .5rem
}

tr:first-child > td .tr:first-child > .td,
#cbi-wireless .td,
#cbi-network .tr:first-child > .td,
.table[width="100%"] > .tr:first-child > .td,
[data-page="admin-network-diagnostics"] .tr > .td,
.tr.table-titles > .th,
.tr.cbi-section-table-titles > .th,
#iwsvg,
[data-page="admin-status-realtime-bandwidth"] #bwsvg {
    border-top: 0!important
}

.cbi-section-table-row .td,
.center,
.center::before {
    text-align: center!important
}

table table,
.table .table,
.cbi-value-field table,
.cbi-value-field .table,
td > table > tbody > tr > td,
.td > .table > .tbody > .tr > .td,
.cbi-value-field > table > tbody > tr > td,
.cbi-value-field > .table > .tbody > .tr > .td {
    border: 0
}

.cbi-dropdown > ul > li .hide-open,
.cbi-dropdown[open] > ul.dropdown > li .hide-close {
    display: initial
}

.cbi-dropdown[open],
.cbi-dropdown-container {
    position: relative
}

.cbi-dropdown[empty] > ul > li,
.cbi-dropdown[optional][open] > ul.dropdown > li[placeholder],
.cbi-dropdown[multiple][open] > ul.dropdown > li > form,
.node-main-login > .main .cbi-value,
#cbi-samba .cbi-value-last .cbi-value-field,
#cbi-firewall-zone .table,
#cbi-network-switch_vlan .table {
    display: block
}

.cbi-value input[type="password"],
.cbi-value input[type="text"],
.cbi-value-field .cbi-dropdown,
.cbi-value-field .cbi-input-select,
.node-main-login > .main .cbi-input-text {
    min-width: 15rem;
    padding-left: 5px;
    padding-right: 5px
}

.network-status-table,
.network-status-table .ifacebox-body > div {
    display: flex;
    flex-wrap: wrap
}

[data-page="admin-network-diagnostics"] .table,
.node-main-login .cbi-section {
    box-shadow: none
}

.node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2),
.node-status-processes > .main .table .tr .td:nth-child(3) {
    white-space: normal
}

.main > .main-left > .nav > .slide > .slide-menu > .active > a,
.contact-us a {
    color: #fff
}

.cbi-tabmenu > li:hover,
.cbi-tabmenu > li[class~="cbi-tab"] {
    background-color: rgba(0, 0, 0, .5)
}

.table[width="100%"],
.th[width="100%"],
.td[width="100%"],
.cbi-section-table-row > .cbi-value-field .cbi-input-select,
.cbi-section-table-row > .cbi-value-field .cbi-input-text,
.cbi-section-table-row > .cbi-value-field .cbi-input-password,
.cbi-section-table-row > .cbi-value-field .cbi-dropdown,
.cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child,
.cbi-dropdown .zonebadge,
.node-main-login > .main > .main-right,
#cbi-firewall-zone .td.cbi-section-actions,
.logo {
    width: 100%
}

@keyframes anim-rotate {
    0% {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@media screen and (min-height: 585px) {
    .node-main-login footer {
        position: absolute;
        bottom: 0;
        width: 100%
    }
}

@keyframes anim-fade-in {
    100% {
        opacity: 1
    }
}

@media screen and (max-width: 1600px) {
    header > .fill > .container > #logo {
        margin: 0 2.5rem 0 .5rem
    }
    .main-left {
        width: calc(0% + 13rem)
    }
    .main-right {
        width: calc(100% - 13rem)
    }
    .cbi-dynlist > .item {
        max-width: 21.9rem
    }
    .btn:not(button),
    .cbi-button {
        font-size: .8rem;
        padding: .3rem .6rem
    }
    .label {
        padding: .2rem .6rem
    }
    .cbi-value-title {
        width: 15rem;
        padding-right: .6rem
    }
    fieldset,
    .cbi-section {
        padding: 1rem
    }
    .cbi-input-textarea {
        font-size: small
    }
    .node-admin-status > .main fieldset li > a {
        padding: .3rem .6rem
    }
    #cbi-firewall-zone > .table {
        display: block
    }
}

@media screen and (max-width: 1366px) {
    header {
        height: 3.5rem
    }
    header > .fill > .container {
        margin-top: .25rem;
        cursor: default
    }
    .main {
        top: 3.5rem;
        height: calc(100% - 3.5rem)
    }
    .main-left {
        top: 3.5rem;
        width: calc(0% + 13rem);
        height: calc(100% - 3.5rem)
    }
    .main-right {
        width: calc(100% - 13rem)
    }
    .cbi-dynlist > .item {
        max-width: 19.9rem
    }
    .cbi-tabmenu > li > a,
    .tabs > li > a {
        padding: .2rem .5rem
    }
    .panel-title {
        font-size: 1.1rem;
        padding-bottom: 1rem
    }
    table {
        font-size: .7rem!important;
        width: 100%!important
    }
    .table .cbi-input-text {
        width: 100%
    }
    .main > .main-left > .nav > li,
    .main > .main-left > .nav > li a,
    .main > .main-left > .nav > .slide > .menu {
        font-size: .9rem
    }
    .main > .main-left > .nav > .slide > .slide-menu > li > a {
        font-size: .7rem
    }
    #modal_overlay {
        top: 3.5rem
    }
    [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table) {
        display: block
    }
    [data-page="admin-network-firewall-forwards"] .table:not(.cbi-section-table),
    [data-page="admin-network-firewall-rules"] .table:not(.cbi-section-table),
    [data-page="admin-network-hosts"] .table {
        overflow-y: visible
    }
    .commandbox {
        width: 32%!important
    }
}

@media screen and (max-width: 1152px) {
    header > .fill > .container > .brand {
        position: relative
    }
    [data-page^="command-cfg"] header > .fill > .container > .brand {
        display: block;
        margin-top: -1.75rem
    }
    html,
    .main {
        overflow-y: visible
    }
    .main-left {
        position: fixed;
        z-index: 100;
        width: 0
    }
    .main-right {
        width: 100%
    }
    .cbi-dynlist > .item {
        max-width: 14.9rem
    }
    .showSide {
        display: inline-block;
        overflow: visible;
        margin-right: .5rem;
        cursor: pointer;
        border-radius: 50%;
        padding: .1rem
    }
    .showSide:before {
        font-size: 1.7rem;
        content: "\e20e"
    }
    body:not(.logged-in) .showSide {
        visibility: hidden;
        width: 0;
        margin: 0;
        padding: 0
    }
    .cbi-value-title {
        width: 9rem;
        padding-right: 1rem
    }
    #diag-rc-output > pre,
    #command-rc-output > pre {
        font-size: 1rem
    }
    #packages.table {
        display: grid
    }
    .tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap
    }
    .Overview .table[width="100%"] > .tr {
        flex-wrap: nowrap
    }
    .tr.placeholder {
        border-bottom: thin solid #ddd
    }
    .tr.placeholder > .td,
    #cbi-firewall .tr > .td,
    #cbi-network .tr:nth-child(2) > .td,
    .cbi-section #wifi_assoclist_table .tr > .td {
        border-top: 0
    }
    .th,
    .td {
        display: inline-block;
        align-self: flex-start;
        flex: 2 2 25%;
        text-overflow: ellipsis;
        word-wrap: break-word
    }
    .td select,
    .td input[type="text"] {
        width: 100%;
        word-wrap: normal
    }
    .td [data-dynlist] > input,
    .td input.cbi-input-password {
        width: calc(100% - 1.5rem)
    }
    .td[data-type="button"],
    .td[data-type="fvalue"] {
        flex: 1 1 12.5%;
        text-align: left
    }
    .th.cbi-value-field,
    .td.cbi-value-field,
    .th.cbi-section-table-cell,
    .td.cbi-section-table-cell {
        flex-basis: auto;
        padding-top: 1rem
    }
    .cbi-section-table-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12)
    }
    .td.cbi-value-field,
    .cbi-section-table-cell {
        display: inline-block;
        flex: 10 10 auto;
        flex-basis: 50%;
        text-align: center
    }
    .td.cbi-section-actions {
        vertical-align: bottom
    }
    .tr[data-title]::before,
    .tr.cbi-section-table-titles.named::before {
        font-size: .9rem;
        display: block;
        flex: 1 1 100%;
        border-bottom: thin solid rgba(0, 0, 0, .26);
        background: #90c0e0
    }
    .cbi-button + .cbi-button {
        margin-left: 0
    }
    .td.cbi-section-actions > * > *,
    .td.cbi-section-actions > * > form > * {
        margin: 2.1px 3px
    }
    .Firewall form {
        position: static!important;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
        margin: 0 0 2rem;
        padding: 2rem
    }
    .Firewall form input {
        width: 100%!important;
        margin: 1rem 0 0
    }
    .Firewall .center,
    .Firewall .center::before {
        text-align: left!important
    }
    .commandbox {
        width: 100%!important
    }
    header > .fill > .container > #logo,
    .tr.table-titles,
    .tr.cbi-section-table-titles,
    .tr.cbi-section-table-descr {
        display: none
    }
    .node-main-login > .main .cbi-value-title,
    .td[data-title],
    [data-page^="admin-status-realtime"] .td[id] {
        text-align: left
    }
    .table,
    .td[data-title]::before {
        display: block
    }
}

@media screen and (max-width: 600px) {
    .cbi-progressbar::after {
        font-size: .95em;
        line-height: 1.5
    }
    fieldset,
    .cbi-section {
        margin: 1rem 0 0;
        padding: 1rem
    }
    .tabs {
        margin: 0 -1rem
    }
    #maincontent > .container {
        margin: 0 1rem 1.5rem
    }
    .main > .main-left > .nav > .slide > .menu {
        font-size: 1.2rem
    }
    .cbi-value-title {
        display: block;
        width: 100%;
        min-width: 0!important;
        margin-top: 1rem;
        margin-bottom: .5rem;
        text-align: left
    }
    .cbi-value > .cbi-value-field {
        display: inline-block
    }
    .cbi-tabmenu > li,
    .tabs > li {
        padding: .6rem 0
    }
    .cbi-tabmenu > li > a,
    .tabs > li > a {
        font-size: .9rem;
        padding: .2rem .3rem
    }
    .cbi-page-actions > .cbi-button {
        margin-top: .2rem
    }
    .node-main-login > .main .container {
        margin: 2rem 1.2rem 1.5rem!important;
        padding: .3rem 1.7rem 2rem 1.6rem
    }
    .node-main-login > .main .cbi-value {
        padding: 0
    }
    .node-main-login > .main form > div:nth-last-child(1) {
        margin-top: 2rem
    }
    .node-main-login > .main .cbi-value-title {
        font-size: 1.2rem;
        width: 100%!important
    }
    .node-main-login > .main fieldset {
        margin: 0;
        padding: .5rem
    }
    .commandbox p:first-of-type {
        margin-top: -8px
    }
    h2 {
        font-size: 2rem
    }
    .panel-title {
        font-size: 1.4rem;
        padding-bottom: 1rem
    }
    .node-system-packages > .main .cbi-value.cbi-value-last > div {
        width: 100%!important
    }
    .th,
    .td {
        flex-basis: 50%
    }
    .td.cbi-value-field {
        flex-basis: 100%
    }
    .td.cbi-value-field[data-type="button"],
    .td.cbi-value-field[data-type="fvalue"] {
        flex-basis: 25%;
        text-align: left
    }
    td > .ifacebadge,
    .td > .ifacebadge {
        font-size: .62rem
    }
    #cbi-wireless .td {
        overflow: hidden
    }
    body,
    #diag-rc-output > pre,
    #command-rc-output > pre,
    code {
        font-size: .8rem
    }
    .main > .main-left > .nav > .slide > .slide-menu > li > a,
    .tr[data-title]::before,
    .tr.cbi-section-table-titles.named::before {
        font-size: 1rem
    }
    .cbi-value-field,
    .cbi-value-description,
    .node-system-packages > .main .cbi-value .cbi-value-field input {
        width: 100%
    }
    .cbi-page-actions > div > input,
    .mobile-hide,
    .hide-sm,
    .hide-xs:not([data-title="MAC-Address"]) {
        display: none
    }
    .tabs > li > a,
    select,
    input {
        font-size: .9rem
    }
}

@media screen and (min-width: 600px) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
        background: transparent
    }
    ::-webkit-scrollbar-thumb {
        background: #9e9e9e
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #757575
    }
    ::-webkit-scrollbar-thumb:active {
        background: #424242
    }
}

@media screen and (min-width: 1152px) {
    .cbi-value-field .cbi-input-select {
        width: 20rem
    }
    .cbi-section-node .tr {
        overflow: hidden
    }
    .cbi-value input[type="password"],
    .cbi-value input[type="text"],
    .cbi-value-field .cbi-dropdown {
        min-width: 20rem
    }
}

@media screen and (min-width: 1366px) {
    .cbi-value-field .cbi-input-select {
        width: 22rem
    }
    .cbi-value input[type="password"],
    .cbi-value input[type="text"],
    .cbi-value-field .cbi-dropdown {
        min-width: 22rem
    }
}

@media screen and (min-width: 1600px) {
    .cbi-value-field .cbi-input-select {
        width: 25rem
    }
    .cbi-value input[type="password"],
    .cbi-value input[type="text"],
    .cbi-value-field .cbi-dropdown {
        min-width: 25rem
    }
}
